home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol A-4
/
(Vol A-4) Vol. A4.iso
/
Games
/
puppy_red.swf
/
scripts
/
DefineSprite_46_enermy
/
frame_1
/
PlaceObject2_21_10
/
CLIPACTIONRECORD onClipEvent(load).as
< prev
Wrap
Text File
|
2008-03-11
|
601b
|
27 lines
onClipEvent(load){
gravitation = 20;
angle = random(90) - 90;
fly = 0;
lock = 0;
t = 0;
v = 0;
posin2._rotation = - angle;
vy0 = v * Math.sin(angle * 3.141592653589793 / 180);
vx0 = v * Math.cos(angle * 3.141592653589793 / 180);
vy = vy0 - gravitation * t;
enstartpo = Math.floor(getTimer() / 1000);
randangle = random(70) + 10;
if(_root.userlevel == 1)
{
firetime = random(4) + 1;
}
else if(_root.userlevel == 2)
{
firetime = random(3) + 1;
}
else if(_root.userlevel == 3)
{
firetime = 1;
}
}